package lab02.test10;

/**
 * Created by V555 on 2017/10/23.
 */
public class Test {
    public static void main(String[] args) {
        People li=new People();
        li.name="li";
        li.age=12;
        li.idcard="1234";
        System.out.println(li.getString());
        ChinaPeople wang=new ChinaPeople();
        wang.name="wang";
        wang.age=13;
        wang.idcard="2121";
        wang.province="四川";
        System.out.println(wang.getString());
        AmJericanPeople zhao=new AmJericanPeople();
        zhao.name="zhao";
        zhao.age=14;
        zhao.idcard="2321";
        zhao.language="English";
        System.out.println(zhao.getString());
        BeiJingPeople zheng=new BeiJingPeople();
        zheng.name="zhengyulin";
        zheng.age=20;
        zheng.idcard="510522";
        zheng.address="beijing";
        System.out.println(zheng.getString());
    }
}
